import qs from 'qs'
import {
    request
} from './request.js'


//获取提问列表
export function getAnswerList(orderObj) {
    return request({
        url: 'product/getReply',
        method: 'post',
        data: qs.stringify(orderObj)
    })
}



//获取回答列表
export function getReplyList(orderObj) {
    return request({
        url: 'product/getAnswer',
        method: 'post',
        data: qs.stringify(orderObj)
    })
}

//删除
export function deleteAnswer(orderObj) {
    return request({
        url: 'product/deleteAnswer',
        method: 'post',
        data: qs.stringify(orderObj)
    })
}

//审核 驳回
export function updateAnswer(orderObj) {
    return request({
        url: 'product/updateAnswer',
        method: 'post',
        data: qs.stringify(orderObj),
    })
}